package com.bocai.kelalacar.ui.car.set.contract;

import com.bocai.kelalacar.base.BaseView;
import com.bocai.kelalacar.bean.CarDriverBean;
import com.bocai.kelalacar.bean.TravelInformationBean;
import com.bocai.kelalacar.bean.UploadImgBean;

import java.util.List;

/**
 * Created by yuanfei on 2017/6/27.
 */

public interface AddCarContract {

    interface view extends BaseView {

        void addCarSuccess();

        void uploadImgSuccess(UploadImgBean uploadImgBean);

        void optionalSeatsList(List<Integer> list);

        void getCarList(CarDriverBean bean);

        void deleteCarSuccess(int index);

        void modifyCarSuccess();

    }
    abstract static class presenter  {


        public abstract void addCar(String memberId,String CarLicense,String BuyTime,String Seats,String CarImageIds);

        public abstract void uploadImg(List<String> photos);

        //可选择车辆座位数
        public abstract void optionalSeats();

        public abstract void getCarDriverList(String memberId);

        public abstract void deleteCar(String carId,int index);

        public abstract void modifyCar(String carId,String CarLicense,String BuyTime,String Seats,String CarImageIds);


    }

}
